﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace HCD.Entities
{
    [Table("ProjectTeamOperator")]
    public class ProjectTeamOperator : Entity<int>, ISoftDelete, IMustHaveTenant
    {
        /// <summary>
        /// 关联项目团队
        /// </summary>
        public int ProjectTeamID { get; set; }
        /// <summary>
        /// 项目参与人
        /// </summary>
        public Guid OperatorID { get; set; }
        /// <summary>
        /// 团队内角色
        /// </summary>
        [Column(TypeName = "nvarchar(50)")]
        public string OperatorRoles { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 状态(0:正常 -1:离队)
        /// </summary>
        public Enums.ProjectTeamStatusEnum Status { get; set; }
        public bool IsDeleted { get; set; }
        public int TenantId { get; set; }
    }
}
